package com.ruoyi.system.domain.city;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 滚动通知对象 city_notice
 * 
 * @author cjq
 * @date 2023-07-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityNotice  implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 滚动通知ID */
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long noticeId;

    /** 通知标题 */
    @Excel(name = "通知标题")
    private String noticeName;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String noticeContent;

    /** 通知文章 */
    @Excel(name = "通知文章")
    private String noticeArticle;

    /** 通知文章是否显示 */
    @Excel(name = "通知文章是否显示")
    private Boolean noticeShow;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
